<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<title><?php echo $title?></title>		
		<link href="<?php echo base_url()?>css/admins/shop.css" rel="stylesheet" media="screen" type="text/css" />
		<link href="<?php echo base_url()?>css/admins/style.css" rel="stylesheet" media="screen" type="text/css" />
		
		<script type="text/javascript" src="<?php echo base_url()?>js/admins/jquery.js"></script> 
		<script type="text/javascript" src="<?php echo base_url()?>js/check_all.js"></script>
		<script type="text/javascript" src="<?php echo base_url()?>js/admins/lib.js"></script>
		<script type="text/javascript" src="<?php echo base_url()?>tiny_mce/tiny_mce.js"></script>
		
		<script type="text/javascript">
			$(document).ready(function()
			{
				$("#firstpane div.menu_head").click(function()
		    	{
					$(this).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("fast");
				});	
			});
		</script>
		
		<script type="text/javascript">
			$(function() {
				$('#mytable input[type="checkbox"]').bind('click',function(e) {
					var $this = $(this);
					if($this.is(':checked'))
						$this.parents('tr:first').addClass('selected');
					else
						$this.parents('tr:first').removeClass('selected');
					showActionsBox();
				});
						
				function showActionsBox(){
					/* number of checked inputs */
					var BoxesChecked = $('#mytable input:checked').length;
					/* update the number of checked inputs */
					$('#chk').html(BoxesChecked);
				}
			});
		</script>
		
        <script language="javascript">
			$(document).ready(function(){
				$(".menu-child").show();
				$(".sidebar-header-product").click(function(){
					$(this).toggleSlide("slow");
			 	});
			}); 
        </script>  
        <script type="text/javascript">
			$(document).ready(function(){
				$("#logo-right ul").hide(); 
				$(".img-admin").click(function(){
					$(this).toggleClass("#logo-right ul").next().slideToggle("fast");
					return false;
				}); 
			});
		</script>
	
		<script type="text/javascript">
			function call(id)
			{
				tinyMCE.init({
				// General options
				mode : "exact",
				elements : id,
				width : "65%",
				height: "400",
				theme : "advanced",
				skin : "o2k7",
				plugins : "markettoimages,phpimage,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups,autosave",

				// Theme options
				theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,formatselect,fontselect,fontsizeselect",
				theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,markettoimages,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
				theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
				theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
				theme_advanced_toolbar_location : "top",
				theme_advanced_toolbar_align : "left",
				theme_advanced_statusbar_location : "bottom",
				theme_advanced_resizing : false,

				// Example content CSS (should be your site CSS)
				content_css : "css/content.css",
				 
				// Drop lists for link/image/media/template dialogs
				template_external_list_url : "lists/template_list.js",
				external_link_list_url : "lists/link_list.js",
				external_image_list_url : "lists/image_list.js",
				media_external_list_url : "lists/media_list.js",

				// Replace values for the template plugin
				template_replace_values : {
					username : "Some User",
					staffid : "991234"
				},
				relative_urls : false
			}); 
			}

			function edittext(id)
			{
				 tinyMCE.init({
						// General options
						mode : "exact",
						elements : id,
						theme : "advanced",
						skin : "o2k7",
						plugins : "markettoimages,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups,autosave",
						// Theme options					
						theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,formatselect,fontselect,fontsizeselect",
						theme_advanced_buttons2 : "search,|,bullist,numlist,|,undo,redo,|,link,unlink,|,insertdate,inserttime,preview,|,forecolor,backcolor,markettoimages",					
						theme_advanced_buttons3 : "",
						theme_advanced_buttons4 : "",
						theme_advanced_toolbar_location : "top",
						theme_advanced_toolbar_align : "left",
						theme_advanced_statusbar_location : "bottom",
				//		theme_advanced_resizing : true,

						// Example content CSS (should be your site CSS)
						content_css : "css/content.css",
						 
						// Drop lists for link/image/media/template dialogs
						template_external_list_url : "lists/template_list.js",
						external_link_list_url : "lists/link_list.js",
						external_image_list_url : "lists/image_list.js"					
					}); 
			}
		</script>
        <script language="javascript">
	        $(document).ready(function(){			
					$('.menu-img-child:last').css('border-bottom','none');
			});
        </script>
        <script language="javascript">
	        $(document).ready(function(){			
					$('#menu-top li:last').css('color','#474646');
			});
        </script>
        <script language="javascript1.2">
			function OpenFileManager(ctl, srcFolder)
			{
				var strUrl="<?php echo base_url()?>editor/filemanager.php?ctl="+ctl+"&urlScr="+srcFolder;
				window.status="Open";
				window.open(strUrl, "View", "width=800, height=600, menubar=1, resizable=1, scrollbars=yes");
			}
		</script>
					
	</head>
	
<body>
	<!-- header (thuoc phan lay out dung chung)-->
	<?php $this->load->view('admins/includes/admin_header')?>
	<!-- header (thuoc phan lay out dung chung)--> 
	<div style="clear:both;"></div>
	<div id="content">
		<div id="content-body-product">					
			<?php $this->load->view($content_admin)?>
			<div class="clear"></div>
		</div>
	</div>
	<!-- content (khong thuoc layout dung chung)-->
	<!-- footer (khong thuoc layout dung chung)-->
	<?php $this->load->view('admins/includes/footer')?>
	<!-- footer (khong thuoc layout dung chung)-->

</body>
</html>	